package com.youlai.boot.system.model.vo;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import java.time.LocalDateTime;
import java.util.List;

/**
 * 博客文章视图对象
 *
 * @author youlaitech
 * @since 2025-03-15 19:25
 */
@Getter
@Setter
@Schema( description = "博客文章视图对象")
public class ArchivesVO implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "文章ID")
    private Long id;
    @Schema(description = "文章标题")
    private String title;
    @Schema(description = "封面图片")
    private String image;
    @Schema(description = "文章简介")
    private String description;
    @Schema(description = "文章内容")
    private String content;
    @Schema(description = "文章类型（字典code：archives_type:value）")
    private String type;
    @Schema(description = "标签列")
    private List<String> tags;
    @Schema(description = "发布时间")
    private LocalDateTime publishTime;
    @Schema(description = "撤回时间")
    private LocalDateTime revokeTime;
}
